const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
        transpileDependencies: true,
        lintOnSave: false,
        devServer: { //设置开发服务器
                proxy: { //设置代理
                        '/api': {
                                target: 'http://waimai.yantianfeng.com/',
                                changeOrigin: true,
                                pathRewrite: {}
                        }
                }
        }
})